package com.han.jdbc.mybatis.generate.mapper;

import com.han.jdbc.mybatis.generate.pojo.AssetMaterial;
import com.han.jdbc.mybatis.generate.pojo.AssetMaterialExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AssetMaterialMapper {
    long countByExample(AssetMaterialExample example);

    int deleteByExample(AssetMaterialExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(AssetMaterial record);

    int insertSelective(AssetMaterial record);

    List<AssetMaterial> selectByExample(AssetMaterialExample example);

    AssetMaterial selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") AssetMaterial record, @Param("example") AssetMaterialExample example);

    int updateByExample(@Param("record") AssetMaterial record, @Param("example") AssetMaterialExample example);

    int updateByPrimaryKeySelective(AssetMaterial record);

    int updateByPrimaryKey(AssetMaterial record);
}